package com.itheima.mapper;


import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


@Mapper
public interface UserSetmealMapper {
    @Select("select * from setmeal")
    List<Setmeal> findAll();

    /**
     * 根据套餐id查询套餐详情
     * @param id
     */
    Setmeal findById(Integer id);
}
